﻿using AutoMapper;
using BCDto.TMS.InsuredConfig;
using BCEntity.TMS.InsuredConfig;

namespace BCService.MapperProfiles.TMS.InsuredConfig
{
    public class InsuredConfigProfile : Profile
    {
        public InsuredConfigProfile()
        {
            CreateMap<InsuredConfigEntity, InsuredConfigDto>().IgnoreAllPropertiesWithAnInaccessibleSetter();
            CreateMap<InsuredConfigDto, InsuredConfigEntity>().IgnoreAllPropertiesWithAnInaccessibleSetter();
            CreateMap<InsuredConfigViewEntity, InsuredConfigViewDto>().IgnoreAllPropertiesWithAnInaccessibleSetter();
        }
    }
}
